#!/bin/bash
set SENDDATE=`date +%Y%m%d`
cat /var/www/html/log/`date "+%Y-%m-%d"`邮件告警记录.txt > /tmp/test.txt
/bin/mail -s "腾讯OC与对等互联80端口晚高峰监控日志" service@watone.com.cn  < /tmp/test.txt